package com.example.mybatisplusdemo.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("cate")
public class Cate {
    @TableId(value = "id",type = IdType.AUTO)
    private String id;
    @TableField("catename")
    private String catename;
    private String num;

    @Override
    public String toString() {
        return "Cate{" +
                "id='" + id + '\'' +
                ", catename='" + catename + '\'' +
                ", num='" + num + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCatename() {
        return catename;
    }

    public void setCatename(String catename) {
        this.catename = catename;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }
}
